package controller;

import java.io.IOException;
import java.io.PrintWriter;

/**
 * 
 * An example of a controller which uses our custom built Auth controller (AdvAuth.java)
 * This service will only respond half the time, the other times it will fail because
 * you are "unauthorized"
 *
 */
public class AdvAuthProfile extends AdvAuth {
	
	public void index() throws IOException {
		PrintWriter out = res.getWriter();
		out.println("MarrowMVC is easy!");
		out.close();
	}
	
}

